<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>我的用车记录</title>
    <link rel="stylesheet" href="<%=request.getContextPath()%>/css/styles.css">
</head>
<body style="background: transparent;">
    <div class="records-container">
        <div class="records-header">
            <h2>我的用车记录</h2>
        </div>

        <div class="table-responsive">
            <table class="table">
                <thead>
                    <tr>
                        <th>申请时间</th>
                        <th>车牌号</th>
                        <th>开始时间</th>
                        <th>结束时间</th>
                        <th>状态</th>
                    </tr>
                </thead>
                <tbody>
                <c:forEach items="${ddmUserList}" var="user">
                    <tr>



                        <td>${user.stime }</td>
                        <td>${user.message}</td>
                        <td>${user.stime }</td>
                        <td>${user.otime }</td>

                        <td><span class="status-tag status-using">${user.zhuang}</span></td>
                    </tr>
                </c:forEach>
                    
                </tbody>
            </table>
        </div>

        <div class="pagination">
            <button class="btn btn-page">&lt;</button>
            <button class="btn btn-page active">1</button>
            <button class="btn btn-page">2</button>
            <button class="btn btn-page">3</button>
            <button class="btn btn-page">&gt;</button>
        </div>
    </div>
</body>
</html> 